package com.eclink.asset.asset.domain.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.eclink.asset.common.domain.dto.CommonDTO;
import com.eclink.asset.domain.dao.CommonEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class AssetInventoryDTO extends CommonDTO {

    private static final long serialVersionUID = 2906194623042156687L;

    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty("ID")
    private String id;

    // 编号
    private String number;

    // 标题名称
    private String title;

    @ApiModelProperty("申请类型名称")
    private String applyTypeName;

    @ApiModelProperty("申请数量")
    private Integer num;

    // 用户ID
    private Long userId;

    // 用户名
    private String userName;

    // 结果编码
    private Integer resultCode;

    // 备注
    private String remark;

    private String formData;

    private String formDataRange;

    // 状态
    private Integer state;

    // 是否可以盘点
    private boolean canHandle;

    // 是否可以删除
    private boolean canDelete;

    // 是否可以修改
    private boolean canEdit;

    private String managerName;

}
